package com.academic_system.service;

import com.academic_system.model.Teacher;
import com.academic_system.util.Message;
import org.springframework.stereotype.Service;

/**

 * @description 老师业务层接口
 * @project_name TeacherService
 * @package com.campus_infomation_portal.service.TeacherService

 **/
@Service
public interface TeacherService {
    /**
     * @param te_num
     * @Description 根据Teacher表中的老师编号查询老师个人信息

     * @methodName queryTeacherByTeNum
     * @returnType Message

     **/
    Message queryTeacherByTeNum(int te_num);

    /**
     * @param teacher
     * @Description 修改老师信息表（姓名，性别，身份证，出生年月，民族，电话，籍贯）

     * @methodName updateTeacher
     * @returnType Message

     **/
    Message updateTeacher(Teacher teacher);
    /**
     * @Description 通过老师名字查找id

     * @methodName ququeryte_info_idByte_name
     * @returnType int

     **/
    public int ququeryte_info_idByte_name(String te_name);

    boolean switchState(int project_state,int project_id);
}
